package com.pktechan.api.entity;

import com.pktechan.api.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @program
 * @Description 配送商运费流水表
 * @Author qx.zhang
 * @create 2021-03-11 08:03
 */

public class CustCarriageFlow extends BaseEntity {


    /**
     * 流水ID
     */

    private Integer id;

    /**
     * 配送商运费ID
     */
    private Integer custCarriageId;

    /**
     * 客户ID
     */
    private Integer custId;

    /**
     * 变动前运费
     */
    private BigDecimal balancePre;

    /**
     * 变动后运费
     */
    private BigDecimal balanceAfter;
    /**
     * 本次运费
     */
    private BigDecimal amount;

    /**
     * 订单ID business_type=10 时，必填
     */
    private Integer tradeOrderId;
    /**
     * 订单详情ID
     */
    private Integer tradeOrderDetailId;

    /**
     * 流水类型 10-生成  20-提现
     */
    private Integer businessType;

    /**
     * 流水状态 -1-无效  0-待确认 1-有效
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createTime;

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCustCarriageId() {
        return this.custCarriageId;
    }

    public void setCustCarriageId(Integer custCarriageId) {
        this.custCarriageId = custCarriageId;
    }

    public Integer getCustId() {
        return this.custId;
    }

    public void setCustId(Integer custId) {
        this.custId = custId;
    }

    public BigDecimal getBalancePre() {
        return balancePre;
    }

    public void setBalancePre(BigDecimal balancePre) {
        this.balancePre = balancePre;
    }

    public BigDecimal getBalanceAfter() {
        return balanceAfter;
    }

    public void setBalanceAfter(BigDecimal balanceAfter) {
        this.balanceAfter = balanceAfter;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getTradeOrderId() {
        return this.tradeOrderId;
    }

    public void setTradeOrderId(Integer tradeOrderId) {
        this.tradeOrderId = tradeOrderId;
    }

    public Integer getTradeOrderDetailId() {
        return tradeOrderDetailId;
    }

    public void setTradeOrderDetailId(Integer tradeOrderDetailId) {
        this.tradeOrderDetailId = tradeOrderDetailId;
    }

    public Integer getBusinessType() {
        return this.businessType;
    }

    public void setBusinessType(Integer businessType) {
        this.businessType = businessType;
    }

    public Integer getStatus() {
        return this.status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}
